
set -e

rm -rf "$(pwd)/build/*"

cd "$(pwd)/build" && cmake .. && make

cd ..

cp -r "$(pwd)/src/include" "$(pwd)/lib"